package com.kuizii.gateway;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;


@SpringBootApplication
@EnableFeignClients(basePackages="com.kuizii")
@ComponentScan(basePackages ={ "com.kuizii"})
@EnableDiscoveryClient
@EnableCaching
public class GatewayStaterApplication {

    public static void main(String[] args) {

        SpringApplication.run(GatewayStaterApplication.class, args);
        System.out.println("====================================================================");
        System.out.println("====================================================================");
        System.out.println("======>>                                                <<==========");
        System.out.println("======>>                                                <<==========");
        System.out.println("======>>                    服务启动成功                 <<==========");
        System.out.println("======>>                                                <<==========");
        System.out.println("======>>                                                <<==========");
        System.out.println("====================================================================");
        System.out.println("====================================================================");
    }


}
